package com.zion.tencent_dnspod_api.config;

import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 创建标准化的HTTPClient对象
 * @Author ZionChen
 * @Date 2024/1/5 02:03
 * @PackageName:com.zion.dnspod_update.config
 * @ClassName: HttpClientConfig
 * @Description: TODO
 * @Version 1.0
 */
@Configuration
public class HttpClientConfig {

    @Bean
    public CloseableHttpClient httpClient(){
        return HttpClientBuilder.create().build();
    }
}
